gnomeos: Don't make device files
authorColin Walters <walters@verbum.org>
Thu, 15 Dec 2011 20:03:29 +0000 (15:03 -0500)
committerColin Walters <walters@verbum.org>
Thu, 15 Dec 2011 20:03:29 +0000 (15:03 -0500)
We don't need them any more inside a chroot now that we have
ostbuild-user-chroot.

gnomeos/yocto/classes/gnomeos-contents.bbclass

index 660f4792bc9dab0a7f6a57748e8730c4b35a8fa9..71a22fa1fdc05150835de2097edb5ed518d874d6 100644 (file)
@@ -68,15 +68,6 @@ EOF
        done
        chmod a=rwxt tmp
 
-       # Populate /dev/ with a bare minimum of devices, so that
-       # the tree is usable for building software inside a chroot
-       # without devtmpfs mounted
-       mknod -m 0666 ./dev/null c 1 3
-       mknod -m 0666 ./dev/zero c 1 5
-       mknod -m 0666 ./dev/full c 1 7
-       mknod -m 0666 ./dev/random c 1 8
-       mknod -m 0666 ./dev/urandom c 1 9
-
        for d in $READONLY_BIND_MOUNTS; do
             mv ${IMAGE_ROOTFS}/$d .
        done